* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #090a0f;
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.mc-bg-blocks { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.dirt-block {
  position: absolute; width: 75px; height: 75px;
  background: #5c3a21; border-top: 15px solid #388726;
  border-left: 6px solid #4a2e19; border-right: 6px solid #4a2e19; border-bottom: 6px solid #341e0f;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); opacity: 0.15; border-radius: 4px;
}
.b1 { top: 10%; left: 5%; transform: rotate(12deg); }
.b2 { top: 20%; right: 8%; transform: rotate(-15deg); }
.b3 { bottom: 15%; left: 8%; transform: rotate(-8deg); }
.b4 { bottom: 25%; right: 12%; transform: rotate(20deg); }

.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; z-index: 10;
}
.logo { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-text { font-family: 'Press Start 2P', cursive; font-size: 18px; color: #fff; }
.logo-text .highlight { color: #22c55e; }
.logo-text .ver { font-size: 10px; color: #38bdf8; margin-left: 5px; font-family: sans-serif; }

.user-status-bar { display: flex; align-items: center; gap: 20px; }
.balance-badge { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.3); padding: 8px 16px; border-radius: 20px; font-size: 14px; }
.btn-logout { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 14px; font-weight: 600; }

.container { max-width: 1000px; margin: 40px auto; padding: 0 20px; position: relative; z-index: 10; }
.card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; backdrop-filter: blur(16px); padding: 30px; margin-bottom: 30px; }
.auth-card { max-width: 450px; margin: 60px auto; }
.text-center { text-align: center; }

.tabs { display: flex; gap: 10px; margin: 20px 0; background: rgba(0,0,0,0.3); padding: 4px; border-radius: 12px; }
.tab-btn { flex: 1; padding: 10px; background: none; border: none; color: #94a3b8; font-weight: 600; cursor: pointer; border-radius: 8px; }
.tab-btn.active { background: #22c55e; color: #000; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #94a3b8; }
.input-group input { width: 100%; padding: 12px 16px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-size: 15px; outline: none; }
.input-group input:focus { border-color: #22c55e; }

.btn-primary { width: 100%; padding: 14px; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-mc { background: #22c55e; color: #000; box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3); }
.btn-mc:hover { background: #16a34a; transform: translateY(-2px); }

.btn-start-huge { font-size: 20px; padding: 20px; margin-top: 20px; width: auto; padding-left: 40px; padding-right: 40px; }

.slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.slot-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.06); padding: 20px; border-radius: 16px; display: flex; align-items: center; gap: 15px; }
.slot-box .flag { font-size: 28px; }
.slot-info h4 { font-size: 16px; color: #f8fafc; }
.slot-info span { font-size: 13px; font-weight: 600; margin-top: 4px; display: block; }

.warning-banner { margin-top: 20px; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #f87171; padding: 14px; border-radius: 12px; text-align: center; }

.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal-card { max-width: 500px; width: 90%; position: relative; }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #94a3b8; font-size: 24px; cursor: pointer; }

.plugins-selection { margin: 20px 0; text-align: left; }
.checkbox-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.checkbox-box { background: rgba(0,0,0,0.2); padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 12px; cursor: pointer; }

.mc-tariffs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.mc-tariff-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08); padding: 26px; border-radius: 18px; position: relative; text-align: center; }
.mc-tariff-box.popular { border-color: #22c55e; box-shadow: 0 0 25px rgba(34, 197, 94, 0.15); }
.mc-tariff-box .badge { position: absolute; top: 15px; right: 15px; background: #22c55e; color: #000; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 10px; text-transform: uppercase; }
.mc-tariff-box .price { font-size: 32px; font-weight: 800; color: #22c55e; margin: 15px 0 5px; }
.mc-tariff-box .mins { font-size: 16px; font-weight: 600; color: #e2e8f0; margin-bottom: 15px; }
.btn-buy-mc { width: 100%; padding: 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-weight: 700; border-radius: 10px; cursor: pointer; transition: all 0.2s; }
.btn-buy-mc:hover { background: #22c55e; color: #000; }

/* Session Page Styling */
.session-header-card { display: flex; flex-direction: column; gap: 20px; }
.session-top { display: flex; justify-content: space-between; align-items: center; }
.live-tag { background: rgba(34, 197, 94, 0.2); color: #22c55e; padding: 6px 14px; border-radius: 20px; font-weight: 700; font-size: 13px; }
.session-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 14px; }
.metric { display: flex; flex-direction: column; gap: 6px; }
.metric .label { font-size: 13px; color: #94a3b8; }
.metric .timer { color: #38bdf8; font-size: 18px; font-weight: 700; }

.btn-danger { background: #ef4444; color: #fff; border: none; padding: 14px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.btn-danger:hover { background: #dc2626; }

.players-table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.players-table th, .players-table td { padding: 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
.players-table th { color: #94a3b8; font-size: 13px; font-weight: 600; }
.btn-sm { padding: 6px 12px; border-radius: 8px; border: none; font-size: 12px; font-weight: 700; cursor: pointer; margin-right: 4px; }
.btn-op { background: #eab308; color: #000; }
.btn-feed { background: #22c55e; color: #000; }
.btn-starve { background: rgba(255,255,255,0.1); color: #fff; }
.btn-heal { background: #ec4899; color: #fff; }
.btn-damage { background: #ef4444; color: #fff; }
.select-mode { background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); padding: 6px; border-radius: 8px; }
