* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Nunito', sans-serif; }
body { background-color: #f4f6f8; display: flex; justify-content: center; min-height: 100vh; color: #333; }
.background-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #e0f2f1 0%, #ffffff 100%); z-index: 0; }
.app-container { width: 100%; max-width: 500px; height: 100vh; position: relative; display: flex; flex-direction: column; overflow: hidden; z-index: 1; }
.glass-panel { background: rgba(255, 255, 255, 0.95); border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid rgba(255,255,255,0.8); }
.main-header { padding: 15px 15px; border-radius: 0 0 25px 25px; margin-bottom: 10px; }
.user-profile { display: flex; align-items: center; gap: 10px; }
.avatar { width: 45px; height: 45px; background: #fff; border-radius: 14px; display: flex; justify-content: center; align-items: center; border: 2px solid #f39c12; overflow: hidden; }
.user-info-text { flex: 1; }
.username { font-weight: 900; font-size: 15px; display: flex; align-items: center; gap: 8px; color: #d35400;}
.badge-admin { background: #3498db; color: #fff; font-size: 9px; padding: 3px 6px; border-radius: 6px; font-weight: 900;}
.status { font-size: 11px; color: #555; display: flex; align-items: center; gap: 5px; margin-top: 4px; font-weight: 700;}
.dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; display: inline-block;}
.assets-panel { display: flex; justify-content: space-between; background: rgba(0,0,0,0.02); padding: 10px; border-radius: 16px; gap: 5px;}
.asset-item { flex: 1; }
.asset-label { font-size: 10px; color: #555; font-weight: 900; margin-bottom: 3px; }
.asset-value { font-size: 15px; font-weight: 900; }
.text-green { color: #27ae60; } .text-orange { color: #e67e22; } .text-purple { color: #8e44ad; } .text-blue { color: #3498db; } .text-gray { color: #7f8c8d; }
.content-area { flex: 1; overflow-y: auto; padding: 10px 15px 100px 15px; }
.view { display: none; animation: fadeIn 0.3s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.card { border-radius: 20px; padding: 15px; margin-bottom: 20px; }
.card-title { font-size: 15px; font-weight: 900; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; color: #d35400;}
.badge-status { color: #fff; font-size: 10px; padding: 5px 10px; border-radius: 12px; font-weight: 900; transition: background 0.3s;}
.section-title { font-size: 16px; font-weight: 900; margin: 10px 0 15px 0;}
.shop-item { display: flex; align-items: center; background: #fff; padding: 12px 15px; border-radius: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); border: 1px solid #eee; }
.shop-icon { font-size: 26px; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 14px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1); flex-shrink: 0; }
.shop-info { flex: 1; padding-left: 10px; }
.shop-info h4 { margin-bottom: 3px; color: #d35400; font-weight: 900; font-size: 15px;}
.shop-info p { font-size: 11px; color: #555; margin-bottom: 2px; font-weight: 800; }
.shop-action { text-align: right; }
.shop-action .btn { padding: 8px 12px; font-size: 11px; border-radius: 10px;}
.chicken-stage { position: relative; width: 100%; height: 130px; display: flex; justify-content: center; align-items: flex-end; margin-bottom:20px;}
.cute-chicken { position: relative; z-index: 2; width: 90px; height: 100px; animation: bounce 1s infinite alternate; }
.chicken-body { width: 100%; height: 100%; background: #fff; border-radius: 50px 50px 35px 35px; border: 4px solid #5a3d1b; position: relative; box-shadow: inset -8px -8px 0 rgba(0,0,0,0.05); }
.comb { position: absolute; width: 45px; height: 25px; background: #ff4757; border-radius: 20px 20px 0 0; top: -18px; left: 20px; border: 4px solid #5a3d1b; border-bottom: none;}
.comb::before, .comb::after { content: ''; position: absolute; background: #ff4757; border: 4px solid #5a3d1b; border-bottom: none; border-radius: 20px 20px 0 0;}
.comb::before { width: 25px; height: 15px; top: 8px; left: -12px; }
.comb::after { width: 25px; height: 15px; top: 8px; right: -12px; }
.chicken-face { position: absolute; width: 100%; height: 100%; }
.eye { position: absolute; width: 8px; height: 8px; background: #5a3d1b; border-radius: 50%; top: 25px; transition: 0.3s; }
.eye.left { left: 22px; } .eye.right { right: 22px; }
.beak { position: absolute; width: 18px; height: 10px; background: #ffa502; border-radius: 8px; border: 4px solid #5a3d1b; top: 38px; left: 32px; z-index:2;}
.wattle { position: absolute; width: 10px; height: 14px; background: #ff4757; border-radius: 0 0 8px 8px; border: 4px solid #5a3d1b; border-top: none; top: 48px; left: 36px; z-index:1;}
.chicken-wing { position: absolute; width: 25px; height: 35px; background: #f1f2f6; border: 4px solid #5a3d1b; border-radius: 12px; top: 35px; }
.chicken-wing.left { left: -8px; transform: rotate(15deg); }
.chicken-wing.right { right: -8px; transform: rotate(-15deg); }
.nest { position: absolute; width: 120px; height: 22px; background: #eccc68; border-radius: 50%; border: 4px solid #5a3d1b; bottom: -8px; z-index: 1; box-shadow: inset 0 -8px 0 #dba836;}
@keyframes bounce { 0% { transform: translateY(0); } 100% { transform: translateY(8px); } }
.food-thought { position: absolute; font-size: 26px; top: -30px; right: 0px; opacity: 0; display: none; z-index: 10; }
.hungry .food-thought { display: block; animation: floatAnim 2s infinite ease-in-out; }
.hungry .cute-chicken { animation: none; transform: translateY(5px); filter: grayscale(30%); } 
.hungry .chicken-body { animation: breathe 3s infinite alternate ease-in-out; } 
@keyframes floatAnim { 0% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(-8px); opacity: 1; } 100% { transform: translateY(0); opacity: 0.7; } }
@keyframes breathe { 0% { transform: scale(1) translateY(0); } 100% { transform: scale(1.02) translateY(-2px); } }
.capacity-info { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #555; font-weight: 900; margin-bottom: 10px; background: rgba(0,0,0,0.03); padding: 12px; border-radius: 12px;}
.btn { border: none; outline: none; border-radius: 12px; font-weight: 900; font-size: 13px; cursor: pointer; transition: 0.2s; padding: 12px 15px; text-transform: uppercase;}
.btn:active { transform: translateY(3px); filter: brightness(0.9); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none;}
.btn-primary { background: #f39c12; color: white; box-shadow: 0 4px 0 #d35400;}
.btn-green { background: #27ae60; color: white; box-shadow: 0 4px 0 #1e8449;}
.btn-purple { background: #8e44ad; color: white; box-shadow: 0 4px 0 #732d91;}
.btn-blue { background: #3498db; color: white; box-shadow: 0 4px 0 #2980b9;}
.btn-outline { background: transparent; color: #7f8c8d; border: 2px solid #bdc3c7;}
.w-100 { width: 100%; } .text-left { text-align: left; }
.input-group { display: flex; flex-direction: column; gap: 6px;}
.input-group label { font-size: 10px; font-weight: 800; color: #7f8c8d; text-transform: uppercase;}
.input-with-icon { position: relative; display: flex; align-items: center;}
.input-with-icon input, .input-with-icon select { width: 100%; background: #fff; border: 2px solid #bdc3c7; padding: 12px 40px 12px 12px; border-radius: 12px; color: #333; font-weight: 800; font-size: 13px; outline: none; transition: 0.3s;}
.input-with-icon input:focus, .input-with-icon select:focus { border-color: #f39c12; }
.input-with-icon .icon { position: absolute; right: 12px; font-size: 15px; color: #7f8c8d;}
.exchange-rate-box { background: rgba(243, 156, 18, 0.1); border: 2px dashed #f39c12; border-radius: 12px; padding: 12px; display: flex; justify-content: center; align-items: center; gap: 15px;}
.rate-item { font-size: 20px; font-weight: 900;}
.receive-box { background: rgba(39, 174, 96, 0.1); border-radius: 12px; padding: 12px; text-align: center; font-size: 13px; font-weight: 800; color: #555; border: 2px solid rgba(39, 174, 96, 0.3);}
.history-list { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto;}
.history-item { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px; display: flex; justify-content: space-between; align-items: center;}
.hist-left { display: flex; flex-direction: column; gap: 2px;}
.hist-amt { font-weight: 900; font-size: 14px; color: #e74c3c;}
.hist-bank { font-size: 11px; color: #555; font-weight: 700;}
.hist-date { font-size: 9px; color: #999;}
.hist-status { font-size: 9px; font-weight: 800; padding: 3px 6px; border-radius: 6px;}
.leaderboard-list { display: flex; flex-direction: column; gap: 6px;}
.lb-item { display: flex; align-items: center; background: #fff; padding: 8px 12px; border-radius: 12px; border: 1px solid #eee; gap: 12px;}
.lb-rank { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 12px;}
.rank-1 { background: #f1c40f; color: #fff; box-shadow: 0 2px 0 #d4ac0d;}
.rank-2 { background: #bdc3c7; color: #fff; box-shadow: 0 2px 0 #a6acaf;}
.rank-3 { background: #e67e22; color: #fff; box-shadow: 0 2px 0 #ca6f1e;}
.rank-other { background: #f4f6f7; color: #555;}
.lb-info { flex: 1; } .lb-name { font-weight: 800; font-size: 12px; color: #333;} .lb-score { font-weight: 900; font-size: 13px;}
.text-center { text-align: center; }
.bottom-nav { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 10px 5px 20px 5px; border-radius: 20px 20px 0 0; z-index: 100; }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #bdc3c7; font-size: 9px; gap: 4px; font-weight: 900; flex: 1; transition: 0.3s; }
.nav-item i { font-size: 16px; transition: 0.2s;}
.nav-item.active { color: #d35400; }
.nav-item.active i { transform: translateY(-3px); }
.hidden { display: none !important; }

/* SYSTEM NOTICE MARQUEE */
.system-notice-bar {
    background: linear-gradient(90deg, #ff4757, #ff6b81);
    color: #fff;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3);
    border-bottom: 2px solid #ff4757;
}
.notice-icon { margin-right: 12px; font-size: 16px; animation: bell-ring 2s infinite; }
.notice-text { flex: 1; overflow: hidden; }
@keyframes bell-ring {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* ADMIN UI REVAMP */
.admin-wrapper {
    background: #13141f;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: #fff;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.admin-title {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: #ff4757;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.admin-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 25px; }
.admin-stat-box { background: #1f2235; padding: 15px 10px; border-radius: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.admin-stat-box:hover { transform: translateY(-3px); }
.stat-label { font-size: 9px; font-weight: 900; color: #8084a0; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;}
.stat-val { font-size: 16px; font-weight: 900; }
.stat-revenue .stat-val { color: #00f2fe; }
.stat-players .stat-val { color: #f1c40f; }
.stat-pending .stat-val { color: #ff4757; }

.admin-card {
    background: #1f2235;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}
.admin-card-title {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}
.title-red { color: #ff4757; }
.title-pink { color: #e84393; }
.title-yellow { color: #f1c40f; }
.title-cyan { color: #00f2fe; }
.title-green { color: #2ecc71; }

.admin-input, .admin-select, .admin-textarea {
    width: 100%;
    background: #13141f;
    color: #fff;
    border: 1px solid #33364f;
    padding: 14px 15px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    outline: none;
    transition: 0.3s;
    font-family: 'Nunito', sans-serif;
}
.admin-textarea { resize: vertical; min-height: 80px; }
.admin-input:focus, .admin-select:focus, .admin-textarea:focus { border-color: #00f2fe; box-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
.admin-input::placeholder, .admin-textarea::placeholder { color: #6b6f8a; font-weight: 600; }

.admin-btn {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-btn:active { transform: translateY(2px); filter: brightness(0.9);}
.btn-gradient-blue { background: linear-gradient(90deg, #3498db, #2980b9); box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3); }
.btn-gradient-pink { background: linear-gradient(90deg, #e056fd, #e84393); box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3); }
.btn-gradient-orange { background: linear-gradient(90deg, #f1c40f, #f39c12); box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3); }
.btn-gradient-green { background: linear-gradient(90deg, #2ecc71, #27ae60); box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); }
.btn-gradient-red { background: linear-gradient(90deg, #ff4757, #c0392b); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3); }

.flex-row { display: flex; gap: 10px; margin-bottom: 12px; }
.flex-row > * { flex: 1; margin-bottom: 0; }

.admin-result-box {
    background: #13141f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    font-size: 13px;
}
.admin-result-box p { margin-bottom: 8px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 8px; }
.admin-result-box p:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }

.admin-withdraw-item {
    background: #13141f;
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid #ff4757;
    margin-bottom: 12px;
}