@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
    --bg-dark: #090a0f;
    --card-bg: rgba(18, 20, 30, 0.65);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00ffcc;
    --primary-glow: 0 0 15px rgba(0, 255, 204, 0.4);
    --secondary: #ff2a6d;
    --text-main: #f1f5f9;
    --text-muted: #64748b;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
body { 
    background-color: var(--bg-dark); 
    background-image: radial-gradient(circle at 50% -20%, #1a1c2e 0%, var(--bg-dark) 100%);
    color: var(--text-main); 
    padding-bottom: 90px; 
    min-height: 100vh;
}

.container { max-width: 600px; margin: 0 auto; padding: 15px; }

/* Kính mờ (Glassmorphism) cực mượt */
.card { 
    background: var(--card-bg); 
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border); 
    border-radius: 16px; 
    padding: 20px; 
    margin-bottom: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

h1, h2, h3 { font-family: 'Chakra Petch', sans-serif; text-transform: uppercase; text-align: center; margin-bottom: 15px; letter-spacing: 1px; }
.text-highlight { color: var(--primary); text-shadow: var(--primary-glow); font-weight: 700; }

/* Chỉ số hiển thị */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 15px; }
.stat-box { 
    background: rgba(0,0,0,0.4); border-radius: 12px; padding: 12px; text-align: center;
    border: 1px solid rgba(255,255,255,0.03); 
}
.stat-box span { display: block; font-size: 1.4rem; font-family: 'Chakra Petch', sans-serif; font-weight: 700; margin-top: 4px; }
.stat-hp span { color: #ff2a6d; } .stat-stamina span { color: #05d5ff; } .stat-gold span { color: #ffd700; } .stat-pvp span { color: #b388ff; }

/* Nút Bấm Neon */
.btn { 
    width: 100%; padding: 14px; border: none; border-radius: 10px; font-weight: 600; 
    font-size: 1rem; cursor: pointer; transition: all 0.2s ease; color: #000;
    text-transform: uppercase; font-family: 'Chakra Petch', sans-serif; letter-spacing: 1px;
}
.btn-primary { background: var(--primary); box-shadow: var(--primary-glow); }
.btn-primary:active { transform: scale(0.96); box-shadow: none; }
.btn-equip { background: #b388ff; color: #fff; box-shadow: 0 0 10px rgba(179, 136, 255, 0.4); }
.btn-use { background: #05d5ff; color: #000; }

/* Item List */
.item-list { display: flex; flex-direction: column; gap: 10px; }
.item-row { 
    display: flex; justify-content: space-between; align-items: center; 
    background: rgba(255,255,255,0.02); padding: 14px; border-radius: 12px; 
    border: 1px solid var(--card-border); 
}
.item-info strong { display: block; font-size: 1.1rem; font-family: 'Chakra Petch', sans-serif; margin-bottom: 2px; }
.item-info span { font-size: 0.8rem; color: var(--text-muted); display: block; }

/* Thanh Menu Đáy Bo Tròn */
.bottom-nav { 
    position: fixed; bottom: 15px; left: 50%; transform: translateX(-50%); 
    width: calc(100% - 30px); max-width: 570px;
    background: rgba(15, 18, 25, 0.85); backdrop-filter: blur(20px); 
    border: 1px solid var(--card-border); 
    display: flex; justify-content: space-around; padding: 12px 0; z-index: 1000; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 0.7rem; font-weight: 500; }
.nav-item i { font-size: 1.4rem; margin-bottom: 3px; font-style: normal; }
.nav-item.active { color: var(--primary); text-shadow: var(--primary-glow); }
